﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Home
{
	public class FinanceEntry
	{
		public DateTime time;
		public string name;
		public double amount;
		public int category;

		public FinanceEntry(DateTime t, string n, double a, int c = -1)
		{
			time = t;
			name = n;
			amount = a;
		}
		public void Load(TextReader R)
		{
			string[] row = R.ReadLine().Split('\t');
			time = DateTime.Parse(row[0]);
			name = row[1];
			amount = double.Parse(row[2]);
		}
	}
	class Finance
	{
	}
}
